package api

import (
	"Walker/app/services"
	"Walker/app/utils/response"
	"github.com/gin-gonic/gin"
)

type Reptile struct {
	ReptileService services.Reptile
}

func (controller *Reptile) Start(ctx *gin.Context) {
	//启动爬虫使用
	go controller.ReptileService.Start()
	//下载图片
	response.Success(ctx, "执行成功", "")
}
